package xyz.fuqufyb.aec.dao;

import org.apache.ibatis.annotations.Param;
import xyz.fuqufyb.aec.entity.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerMapper {

    List<Customer> getPageCustomer(Map<String, Object> maps);


    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKeyWithBLOBs(Customer record);

    int updateByPrimaryKey(Customer record);

    int deleteByCustomerIds(@Param("ids") List<Integer> ids);

    List<Customer> getListCustomer();
}